package uk.ac.bath.machine.tristate;
import uk.ac.bath.base.Value;
import java.io.*;

public class Or extends BinaryOperator {

    public void binaryOp(Value a,Value b,Value c) {
	c.set(Math.max(a.val,b.val));
    }

    public Object  clone() {
        return this;
    }
    
    public void  toString(StringWriter w) {
        w.write("Or ");
    }
}
